//
//  AuctionDetailModel.m
//  MyNewProject
//
//  Created by 王春辉 on 1/16/20.
//  Copyright © 2020 sun. All rights reserved.
//

#import "AuctionDetailModel.h"

@implementation AuctionDetailModel
+ (nullable NSDictionary<NSString *, id> *)modelContainerPropertyGenericClass {
    return @{@"data": [AuctionDetailDataModel class] };
}
@end

@implementation AuctionDetailDataLogModel
+ (nullable NSDictionary<NSString *, id> *)modelCustomPropertyMapper {
    return @{ @"ID":@"id" };
}
@end

@implementation AuctionDetailDataInfoModel
+ (nullable NSDictionary<NSString *, id> *)modelCustomPropertyMapper {
    return @{@"ID":@"id",
             @"price":@"new_price"
             };
}
@end

@implementation AuctionDetailDataModel
+ (nullable NSDictionary<NSString *, id> *)modelContainerPropertyGenericClass {
    return @{@"sell_log": [AuctionDetailDataLogModel class],
             @"sell_info": [AuctionDetailDataInfoModel class],
             @"lunbo":[AuctionDetailDataBannerModel class]};
}
@end

@implementation AuctionDetailDataBannerModel
+ (nullable NSDictionary<NSString *, id> *)modelCustomPropertyMapper {
    return @{ @"ID":@"id" };
}
@end
